<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no" />
    <title>下单说明</title>
    <link rel="stylesheet" href="../../css/reset.css" />
    <style>
        body {
            width: 100%;
            background-color: #f6f6f6;
            font-size: 0.26rem;
            height: auto;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            font-family: PingFang SC;
            color: #333333;
        }

        .headerItem {
            width: 100%;
            height: 2.4rem;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            background: url("../../image/bgxianeshuomingx.png") no-repeat center;
            background-size: 100% 100%;
            padding: 0 0.3rem;
            box-sizing: border-box;
            position: relative;
        }

        .headerItem>b {
            font-size: 0.44rem;
            margin-bottom: 0.1rem;
        }

        .headerItem>p {
            font-size: 0.22rem;
            font-family: PingFang SC;
            font-weight: 400;
            line-height: 0.36rem;
            color: #262626;
        }

        .showItemDetail {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            background-color: #fff;
            position: absolute;
            top: 2rem;
            left: 0;
            border-radius: 0.5rem 0.5rem 0 0;
            padding: 0 0.5rem;
            padding-bottom: 0.4rem;
            box-sizing: border-box;
        }

        .titleItem {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.24rem;
            margin-top: 0.26rem;
        }

        .lineBox {
            flex: 1;
            border-bottom: 1px dashed #262626;
            margin-right: 0.06rem;
            margin-left: 0.1rem;
        }

        .trangleBox {
            display: block;
            content: "";
            width: 0;
            height: 0;
            border-top: 0.1rem solid transparent;
            border-right: 0.12rem solid #262626;
            border-bottom: 0.1rem solid transparent;
        }

        .titleItem>b {
            font-size: 0.32rem;
        }

        .tableList {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
        }

        .itenType {
            width: 100%;
            height: 0.7rem;
            background-color: #F8F8F8;
            border-top: 1px solid #EAEAEA;
        }

        .itenType ul {
            width: 100%;
            height: 100%;
            display: flex;
            display: -webkit-flex;
            align-items: stretch;
            justify-content: space-between;
        }

        .itenType ul li {
            border-right: 1px solid #EAEAEA;
            color: #595959;
        }

        .itenType ul li:not(:first-of-type) {
            width: 1.5rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.22rem;
            font-weight: 400;
        }

        .itenType ul li:first-of-type {
            flex: 1;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: center;
            background: url("../../image/bgcaoll.png") no-repeat center;
            background-size: 100% 100%;
            border-left: 1px solid #EAEAEA;
            padding-left: 0.1rem;
            box-sizing: border-box;
            padding-top: 0.2rem;
            position: relative;
        }

        .itenType ul li:first-of-type span:first-of-type {
            display: flex;
            display: -webkit-flex;
            justify-content: flex-end;
            box-sizing: border-box;
            position: absolute;
            right: 0.2rem;
            top: 0.06rem;
        }

        .itemBody {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            align-items: stretch;
            justify-content: space-between;
            border-top: 1px solid #EAEAEA;
            border-bottom: 1px solid #EAEAEA;
        }

        .itemBody ul {
            flex: 1;
            height: auto;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            border-left: 1px solid #EAEAEA;
            border-right: 1px solid #EAEAEA;
        }

        .itemBody ul li {
            width: 100%;
            height: 0.7rem;
            display: flex;
            display: -webkit-flex;
            align-items: stretch;
            justify-content: space-between;
            border-bottom: 1px solid #EAEAEA;
        }

        .itemBody ul li:nth-of-type(odd) {
            background-color: #ffffff;
        }

        .itemBody ul li:nth-of-type(even) {
            background-color: #F8F8F8;
        }

        .itemBody ul li:last-of-type {
            border-bottom: none;
        }

        .itemBody ul li p {
            width: 1.5rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
            border-right: 1px solid #EAEAEA;
            color: #262626;
        }

        .itemBody ul li p:first-of-type {
            flex: 1;
            justify-content: flex-start;
            padding-left: 0.2rem;
            box-sizing: border-box;
            color: #595959;
        }

        .itemBody ul li p:last-of-type {
            border-right: none;
        }

        .showTips {
            width: 1.5rem;
            height: auto;
            background: #F4F6FF;
            display: flex;
            display: -webkit-flex;
            justify-content: center;
            align-items: center;
            border-right: 1px solid #EAEAEA;
        }

        .notips {
            width: 100%;
            height: 0.3rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.28rem;
            font-family: PingFang SC;
            font-weight: 400;
            line-height: 40px;
            color: #CBCBCB;
        }
    </style>
</head>

<body>
    <div class="headerItem">
        <b>
            限额说明
        </b>
        <p>
            为保证人人矿场每位用户正常下单算力，防止恶意<br>
            刷单，故实施限额策略，规则如下：
        </p>
        <div class="showItemDetail">
            <!-- <div class="tableList">
                <div class="titleItem">
                    <b>经典BTC算力</b>
                    <p class="lineBox">
                    </p>
                    <span class="trangleBox"></span>
                </div>
                <div class="tableList">
                    <div class="itenType">
                        <ul>
                            <li><span>产品</span><span>限额</span></li>
                            <li>单日(T)</li>
                            <li>30日(T)</li>
                            <li>单次(T)</li>
                        </ul>
                    </div>
                    <div class="itemBody">
                        <ul>
                            <li>
                                <p>
                                    30天锁定
                                </p>
                                <p>
                                    2
                                </p>
                                <p>
                                    2
                                </p>
                            </li>
                            <li>
                                <p>
                                    30天锁定
                                </p>
                                <p>
                                    2
                                </p>
                                <p>
                                    2
                                </p>
                            </li>
                            <li>
                                <p>
                                    30天锁定
                                </p>
                                <p>
                                    2
                                </p>
                                <p>
                                    2
                                </p>
                            </li>
                        </ul>
                        <div class="showTips">
                            参见具体<br>
                            矿机描述
                        </div>
                    </div>
                </div>
            </div> -->
        </div>
    </div>
</body>
<script src="../../script/autosize.js"></script>
<script src="../../script/jquery_three_two_one.js"></script>
<script src="../../script/fastclick.js"></script>
<script src="../../script/dotmin.js"></script>
<script src="../../script/app.js"></script>
<script>
    apiready = function () {
        var app = new APP();
        app.ajaxPro({
            url: "machine/limit",
            values: {},
            openFlower: true
        }, function (ret) {
            if (ret.code == 200) {
                var temp = doT.template($("#itemshow").text());
                $(".showItemDetail").html(temp(ret.data))
            }
        });
        app.headerMap();
    }
</script>
<script type="text/html" id="itemshow">
    {{ for(var i=0, catlen=it.length; i<catlen; i++) { }}
    <div class="titleItem">
        <b>{{= it[i].name }}</b>
        <p class="lineBox">
        </p>
        <span class="trangleBox"></span>
    </div>
    <div class="tableList">
        <div class="itenType">
                <ul>
                    <li><span>产品</span><span>限额</span></li>
                    <li>单日(T)</li>
                    <li>30日(T)</li>
                    <li>单次(T)</li>
                </ul>
            </div>
            <div class="itemBody">
                <ul>
                    {{ for(var j=0, goodslen=it[i]['limitInfo'].length; j<goodslen; j++) { }}  
                    <li>
                        <p>
                            {{= it[i]['limitInfo'][j].name }}
                        </p>
                        <p>
                            {{= it[i]['limitInfo'][j].limitNum1 }}
                        </p>
                        <p>
                            {{= it[i]['limitInfo'][j].limitNum30 }}
                        </p>
                    </li>
                    {{ } }}
                </ul>
                <div class="showTips">
                    参见具体<br>
                    矿机描述
                </div>
            </div>
        </div>
    </div>
    {{ } }}
</script>

</html>